package com.pkk.alert.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pkk.alert.entity.feige.FeigeAccount;

public interface FeigeAccountService extends IService<FeigeAccount> {


  /**
   * @Description: 获取可以使用的账户信息
   * @Param: []
   * @return: com.pkk.alert.entity.feige.FeigeAccount
   * @Author: peikunkun
   * @Date: 2019/7/5 0005 下午 5:00
   */
  FeigeAccount getUseFeigeAccount();


  /**
   * @Description: 操作本月的redis使用量
   * @Param: [accountId]
   * @return: boolean
   * @Author: peikunkun
   * @Date: 2019/7/7 15:08
   */
  boolean successFeigeAccount(Long accountId, Integer completeNum);


  /**
   * 处理账户使用信息
   *
   * @return com.alibaba.fastjson.JSONObject
   * @Param
   * @author peikunkun
   * @date 2020/12/1 0001 上午 11:16
   * @since
   */
  JSONObject handleAccountUserInfo();


}
